| 
 | 
 | 
 | 
| Events | 
The SftTree/OCX control generates these events:
Events shown grayed are provided for compatibility with older releases only and should no longer be used.
| Event | Description | 
| Cell editing is about to end. | |
| Dragging has been canceled (automatic DragMethod only). | |
| Dragging in progress (automatic DragMethod only). | |
| Dragging has ended (automatic DragMethod only). | |
| The caret location changes. | |
| The contents of the edit control or combo box have changed (cell editing). | |
| The selection of a combo box has changed (cell editing). | |
| A key has been pressed (cell editing). | |
| A key has been pressed (cell editing). | |
| A key has been released (cell editing). | |
| The selection changes. | |
| The user resizes the columns. | |
| The user has stopped resizing the columns. | |
| The user is about to resize the columns. | |
| The columns have been reordered. | |
| The right mouse button is released or Shift-F10 is pressed requesting a context menu. | |
| A mouse button is double-clicked. | |
| The user initiates a drag & drop operation. | |
| Determines whether a cell can be reached during cell editing. | |
| Cell editing has ended. | |
| Cell editing is ending. | |
| Cell editing is about to start. | |
| The control used for cell editing is initialized. | |
| A key has been intercepted which is used for navigation during cell editing. | |
| The new contents of the cell being edited are to be validated. | |
| The control receives the input focus. | |
| The control loses the input focus. | |
| A mouse button is clicked. | |
| An already selected item has been clicked. | |
| An item has been collapsed. | |
| A mouse button is double-clicked. | |
| An item is about to be deleted. | |
| An item has been expanded. | |
| A key is pressed. | |
| An ANSI key is pressed or released. | |
| A key is released. | |
| A mouse button is pressed. | |
| The mouse cursor is entering the control. | |
| The mouse cursor is leaving the control. | |
| The mouse is moved. | |
| A mouse button is released. | |
| The user scrolls the tree control horizontally. | |
| The OLE drag & drop operation has ended. | |
| An OLE drag & drop event indicating something has been dropped over the tree control. | |
| An OLE drag & drop event indicating something is being dragged over the tree control. | |
| The OLE drag & drop operation is in progress, used for visual feedback. | |
| OLE drag & drop data needs to be provided. | |
| The tree control's OLEDrag method has been invoked. | |
| Cell editing has ended. | |
| The selection changes. | |
| Items are being sorted. | |
| A cell ToolTip is about to be displayed. | |
| A column header ToolTip is about to be displayed. | |
| A column footer ToolTip is about to be displayed. | |
| A column header ToolTip is about to be displayed. | |
| A ScrollTip is about to be displayed. | |
| The user scrolls the tree control vertically. | |
| The virtual data source is called to provide item information. | 
Events shown grayed are provided for compatibility with older releases only and should no longer be used.
See Also Object Hierarchy